package org.clipjoint.dao;


import org.clipjoint.entity.dto.UserDto;
import org.clipjoint.entity.User;

import java.sql.SQLException;
import java.util.List;

public interface UserAdminDao {
    List<User> selectAll(UserDto userDto) throws SQLException;

    Long selectCount(UserDto build) throws SQLException;

    int insert(User user) throws SQLException;

    int deleteById(Long id) throws SQLException;

    User selectOne(UserDto userDto) throws SQLException;

    int update(User user) throws SQLException;
}
